package cn.antho.user.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class EmailRegisterDto {

    // 邮箱
    @NotBlank(message = "邮箱不可为空！")
    private String email;

    // 短信验证码
    @NotBlank(message = "邮件验证码不可为空！")
    private String emailCode;

    // 密码
    @NotBlank(message = "密码不可为空！")
    private String password;

    // 确认密码
    @NotBlank(message = "确认密码不可为空！")
    private String passwordRepeat;

}
